From: vhanquez@kneesa.uk.xensource.com Date: Mon, 16 Jan 2006 21:48:24 +0000 (+0000) Subject: fix xenbus_scanf called with NULL instead of XBT_NULL. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16541^2~27 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=ffd9d0c69ed61e0c69b3de96785c06f22de13579;p=xen.git fix xenbus_scanf called with NULL instead of XBT_NULL. Signed-off-by: Vincent Hanquez --- diff --git a/linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c b/linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c index bb4bbe83c0..df72cedd01 100644 --- a/linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c @@ -364,7 +364,7 @@ static int tpmfront_probe(struct xenbus_device *dev, struct tpmfront_info *info; int handle; - err = xenbus_scanf(NULL, dev->nodename, + err = xenbus_scanf(XBT_NULL, dev->nodename, "handle", "%i", &handle); if (XENBUS_EXIST_ERR(err)) return err;